package com.ruoyi.hospital.domain.storeInfo;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 中草药信息   对象 pharmacy_herb
 * 
 * @author wendao
 * @date 2024-08-19
 */
public class PharmacyHerb extends PharmacyDruginfo
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Integer id;

    /** 药品代码 */
    @Excel(name = "药品代码")
    private String code;

    /** 产地 */
    @Excel(name = "产地")
    private String origin;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String manufacturer;

    /** 公共表 */
    @Excel(name = "公共表")
    private Integer phaId;

    /** 药品剂型 */
    @Excel(name = "药品剂型")
    private Integer form;

    /** 包装单位 */
    @Excel(name = "包装单位")
    private Integer pack;

    /** 是否推荐 */
    @Excel(name = "是否推荐")
    private Integer isRecommend;

    /** 处方药 */
    @Excel(name = "处方药")
    private Integer isPrescription;


    private String productAttr; //商品规格


    public String getProductAttr() {
        return productAttr;
    }

    public void setProductAttr(String productAttr) {
        this.productAttr = productAttr;
    }


    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setOrigin(String origin)
    {
        this.origin = origin;
    }

    public String getOrigin()
    {
        return origin;
    }
    public void setManufacturer(String manufacturer)
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer()
    {
        return manufacturer;
    }
    public void setPhaId(Integer phaId)
    {
        this.phaId = phaId;
    }

    public Integer getPhaId()
    {
        return phaId;
    }
    public void setForm(Integer form)
    {
        this.form = form;
    }

    public Integer getForm()
    {
        return form;
    }
    public void setPack(Integer pack)
    {
        this.pack = pack;
    }

    public Integer getPack()
    {
        return pack;
    }
    public void setIsRecommend(Integer isRecommend)
    {
        this.isRecommend = isRecommend;
    }

    public Integer getIsRecommend()
    {
        return isRecommend;
    }
    public void setIsPrescription(Integer isPrescription)
    {
        this.isPrescription = isPrescription;
    }

    public Integer getIsPrescription()
    {
        return isPrescription;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("code", getCode())
                .append("origin", getOrigin())
                .append("manufacturer", getManufacturer())
                .append("phaId", getPhaId())
                .append("form", getForm())
                .append("pack", getPack())
                .append("isRecommend", getIsRecommend())
                .append("isPrescription", getIsPrescription())
                .append("symptomDesc", getSymptomDesc())
                .append("useDesc", getUseDesc())
                .toString();
    }
}